/*
* $Id: State.h 2 2009-12-23 13:58:02Z volok-aleksej@yandex.ru $
*
* Copyright 2008-2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _STATE_H_
#define _STATE_H_

#include "JournalDefined.h"

class CState
{
public:
	JournalEnum::viewJournal m_nState;
	int m_nIdParameter;
public:
	CState()
		: m_nIdParameter(0), m_nState(JournalEnum::EMPTY_VIEW){}
	CState(JournalEnum::viewJournal nState, int nParam)
		: m_nIdParameter(nParam), m_nState(nState){}
	~CState(){}
};

struct State{
	JournalEnum::tabNumber m_nPosTab;
	JournalEnum::typeTreeItem m_nTypeSel;
	JournalEnum::typeItemMnpl m_type;
	State(JournalEnum::tabNumber nPos,
		JournalEnum::typeTreeItem nTypeSel,
		JournalEnum::typeItemMnpl type)
		: m_nPosTab(nPos), m_nTypeSel(nTypeSel), m_type(type){}
};

#endif/*_STATE_H_*/